import { LAYOUT } from '@/router/constants';
import type { RouteRecordItem } from 'vc/src/router';

const EnvironmentQualification: RouteRecordItem = {
  path: '/environmental',
  component: LAYOUT,
  redirect: '/environmental/operatingPermit',
  meta: {
    title: '环境资质',
    menuIndex: 2,
    subMenuIndex: 3
  },
  children: [
    {
      path: 'operatingPermit',
      component: () => import('@/views/modules/environmentQualification/operatingPermit/index.vue'),
      meta: {
        title: '危险废物经营许可证'
      }
    },
    {
      path: 'professionalContracting',
      component: () => import('@/views/modules/environmentQualification/professionalContracting/index.vue'),
      meta: {
        title: '环保工程专业承包资质'
      }
    },
    {
      path: 'wasteElectronicRecycling',
      component: () => import('@/views/modules/resourceUtilization/wasteElectronicRecycling/index.vue'),
      meta: {
        title: '废弃电子产品处理资格'
      }
    },
    {
      path: 'radiationPermit',
      component: () => import('@/views/modules/environmentQualification/radiationPermit/index.vue'),
      meta: {
        title: '辐射安全许可证'
      }
    }
  ]
};

export default EnvironmentQualification;
